package com.yuhanginfo.modules.web.service;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yuhanginfo.common.service.WebCrudService;
import com.yuhanginfo.modules.web.dao.WebCarDao;
import com.yuhanginfo.modules.web.entity.WebCar;

/**
 * 车Service
 * @author yangs
 * @version 2017-09-26
 */
@Service
@Transactional(readOnly = true)
public class WebCarService extends WebCrudService<WebCarDao, WebCar> {

	@Autowired
	private WebCarDao webCarDao;
	
	public WebCar get(String id) {
		return super.get(id);
	}
	public List<WebCar> getCarListByIds(List<Integer> carIdList){
		return webCarDao.getCarListByIds(carIdList);
	}
	
}